{% extends 'base.html' %}

{% block title %}
Phone Types - Different Phone Types
{% endblock %}

{% block contents %}
<h2>Phone Types - Different phone types </h2>
<h3>Phone Types List </h3>
<ul>
{% for lis in list %}
<li>
{{lis.code}} - {{lis.description}} - <a href="{{lis.get_delete_url}}"> Delete </a> 
-  <a href="{{lis.get_edit_url}}"> Edit </a>
</li>
{% endfor %}
</ul>
<form action="." method="POST">
        <table>
            {{ form.as_table }}
        </table>
        <p><input type="submit" value="Submit"></p>
       
    </form>
   

{% endblock %}